package com.exchange.interfaces.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.exchange.common.core.domain.BaseEntity;

/**
 * 交换平台_链接账号表 exc_link_account
 * 
 * @author exchange
 * @date 2019-06-03
 */
public class ExcLinkAccount extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** ID */
	private Integer id;
	/** 行政区划代码 */
	private String level;
	/** 行政区划名称 */
	private String name;
	/** 安全码 */
	private String securityCode;
	/** 指定访问IP */
	private String ip;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setLevel(String level) 
	{
		this.level = level;
	}

	public String getLevel() 
	{
		return level;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setSecurityCode(String securityCode) 
	{
		this.securityCode = securityCode;
	}

	public String getSecurityCode() 
	{
		return securityCode;
	}
	public void setIp(String ip) 
	{
		this.ip = ip;
	}

	public String getIp() 
	{
		return ip;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("level", getLevel())
            .append("name", getName())
            .append("securityCode", getSecurityCode())
            .append("ip", getIp())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
